package com.chinasoft.carWithuserservice;


import com.chinasoft.feignclient.client.CarClient;
import com.chinasoft.feignclient.client.UserClient;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(clients = { UserClient.class,  CarClient.class})
public class carWithuserApplication {

    public static void main(String[] args) {
        SpringApplication.run(carWithuserApplication.class, args);
    }
}
